<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
	<head>
		<title><?php echo ($system_name); ?></title>
		<meta charset="UTF-8">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<!-- intoHead  -->
		<link rel="stylesheet" type="text/css" href="<?php echo C('BOOTSTRAP');?>css/bootstrap.min.css?v=<?php echo C('VERSION');?>" />
		<link rel="stylesheet" type="text/css" href="<?php echo C('HOME_CSS');?>console.css?v=<?php echo C('VERSION');?>" />
		<link rel="stylesheet" type="text/css" href="<?php echo C('HOME_CSS');?>main.min.css" />
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>jquery-2.0.3.min.js?v=<?php echo C('VERSION');?>"></script>
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>index.js?v=<?php echo C('VERSION');?>"></script>
		<script language="JavaScript" src="<?php echo C('LAYERUI');?>layui.js?v=<?php echo C('VERSION');?>"></script>
		<script language="JavaScript" src="<?php echo C('HOME_JS');?>function.js?v=<?php echo C('VERSION');?>"></script>
		<script>
		layui.use(['layer','form'], function(){
			var layer=layui.layer;
			var form =layui.form();
		});
		</script>
		<link rel="stylesheet" type="text/css" href="<?php echo C('HOME_CSS');?>iframe.css?v=<?php echo C('VERSION');?>" />
		<script>
			var city_url = "<?php echo C('HOME_JS');?>city.min.js";
		</script>
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>jquery.cityselect.js"></script>
		<script type="text/javascript" src="<?php echo C('UPLOAD');?>jquery.form.js"></script>

	</head>
<style type="text/css">
	table{width:100%;}
	table td,table th{padding:6px 0px 6px 6px;background:#FFFFFF;}
	table th{text-align:center;line-height:30px;margin:5px;border-bottom:10px solid #f5f5f5;border-right:1px solid #DEDEDE;color:#3e3e3e;}
	table td{text-align:center;border-bottom:2px solid #DEDEDE;line-height:25px;}
	.spacess{color:#ccc;float:right;border-right:1px solid #DEDEDE;height:35px;}
	.opration{text-align: left !important;padding-left:30px;border-right:1px solid #DEDEDE;}
</style>
<body class="iframe-body">


 <div style="text-indent:10px;background:#EAEDF1;width:100%;position:fixed;top:0px;height:35px;line-height:35px;">
    <a href="<?php echo U('Index/home');?>" target="right-page" style="color:#5c5c5c;text-decoration:none;">
	    <img style="position:relative;top:-2px;" src="<?php echo C('HOME_IMAGE');?>icon/sy_icon.png" width="15px;">
	    <?php echo (L("_HOME_PAGE")); ?>
    </a>
    &gt;
    <a href="<?php echo U($nav_one['action'],array('nav_id'=>$nav_one['id']));?>" target="right-page" style="color:#5c5c5c;text-decoration:none;">
    	<?php echo ($nav1); ?>
    </a>
    &gt;
    <a href="<?php echo U($nav_two['action'],array('nav_id'=>$nav_two['id']));?>" target="right-page" style="text-decoration:none;">
    	<span style="color:#15b6be;"><?php echo ($nav2); ?></span>
    </a>
    <span style="float:right;margin-right:10px;cursor:pointer;" onclick="location.reload()"><?php if((LANG_SET) == "zh-cn"): ?>刷新<?php else: ?>refresh<?php endif; ?></span>
</div>
<div class="body" style="padding:40px">
    <div class="row" style="margin-top:20px">
        <div class="info_box_var_1 box_bg_a" style="float:left;width:200px;margin-left:17px">
            <div class="info_box_body">
                <span class="info_box_icon icon_group"></span>
                <span class="countUpMe" data-endval="1342"><?php echo ($todayStatis); ?></span>
            </div>
            <div class="info_box_footer">
                今日新增
            </div>
        </div>
        <div class="info_box_var_1 box_bg_b" style="float:left;width:200px;margin-left:30px">
            <div class="info_box_body">
                <span class="info_box_icon icon_cart_alt"></span>
                <span class="countUpMe" data-endval="57"><?php echo ($totalStatis); ?></span>
            </div>
            <div class="info_box_footer">
                累计数量
            </div>
        </div>
    </div>
    <table class="table table-bordered" style="margin-top:20px">
      <tr class="active">
      	<th>姓名</th><th>今日新增</th><th>累计数量</th><th>操作</th>
      </tr>
      <?php if(is_array($userStatis)): $i = 0; $__LIST__ = $userStatis;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
      	<td><?php echo ($vo["name"]); ?></td><td><?php echo ($vo["today"]); ?></td><td><?php echo ($vo["total"]); ?></td>
        <td><a class="zysjdc" href="<?php echo U("Home/Tjsj/download_tjsj",array('uid'=>$vo['id']));?>">导出</a></td>
      </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
    <a class="zysjdc" href="<?php echo U("Home/Tjsj/download_tjsj");?>" style="float:right;margin-top:20px">导出全部</a>
</div>
<style media="screen">

</style>